package com.xiyi.shouxin.entity.user;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

@Data
@Table(value = "video")
public class Video {
    @Id
    @Column(value = "id")
    private Long id;
    /*
     * 名称
     */
    @Column(value = "name")
    private String name;
    @Column(value = "thumb")
    private String thumb;
    /*
     * 链接
     */
    @Column(value = "url")
    private String url;
    /*
     * 远程id
     */
    @Column(value = "video_id")
    private String videoId;
    /*
     * 状态 1启用0不启用
     */
    @Column(value = "status")
    private Integer status;

}
